Conversation
There was a problem hiding this comment.
Pull request overview
Pins the high-privilege actions/create-github-app-token GitHub Action to an immutable commit SHA to reduce supply-chain risk in the scheduled workflow.
Changes:
- Replaced
actions/create-github-app-token@v1with a pinned commit SHA (c8f55ef...) while retaining the existing behavior. - Added an inline version note (
# v1.10.1) to preserve human-readable provenance.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
actions/create-github-app-token@v1while passing high-privilege app secrets and grantingcontents: write, creating a supply-chain risk if the upstream tag is moved or compromised.Description
uses: actions/create-github-app-token@v1withuses: actions/create-github-app-token@c8f55efbd427e7465d6da1106e7979bc8aaee856 # v1.10.1in.github/workflows/update-search.ymlto pin the action to an immutable commit SHA while preserving the existing app-token minting and push behavior.Testing
./scripts/lint-check.sh; the script executed and reported pre-existing JavaScript quote-style lint errors unrelated to the workflow change, and the workflow file change was committed successfully.Codex Task